package com.murray.shop.background.pojo;

/**
 * @author Murray
 * @Date 2021/8/20
 * @Time 0:08
 * @Description 管理员类
 */
public class Admin {
    private Integer adminId;
    private String uname;
    private String pwd;
    private String name;
    private Role role;

    public Admin() {
    }

    @Override
    public String toString() {
        return "Admin{" +
                "adminId=" + adminId +
                ", uname='" + uname + '\'' +
                ", pwd='" + pwd + '\'' +
                ", name='" + name + '\'' +
                ", role=" + role +
                '}';
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public Admin(Integer adminId, String uname, String pwd, String name, Role role) {
        this.adminId = adminId;
        this.uname = uname;
        this.pwd = pwd;
        this.name = name;
        this.role = role;
    }
}
